<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/7
  Time: 17:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!doctype html>
<html lang="zh">
<head>
    <title>新增危害因素</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/hazardFactor/add.js"></script>
</head>
<body>
<div class="form-wrap">
    <form id="factorForm" method="post">
        <table cellspacing="0" cellpadding="0" class="watch-table" style="width: 700px">
            <tr>
                <td class="watch-td">危害因素名称<span>*</span></td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" name="name" data-options="required:true" style="width: 576px">
                </td>
            </tr>
            <tr>
                <td class="watch-td">限制值</td>
                <td colspan="3">
                    <input class="easyui-numberbox" type="text" name="limitValue" data-options="min:0,precision:2" style="width: 240px">
                </td>
                <td colspan="2" class="watch-td">标准值</td>
                <td colspan="3" class="watch-tdA">
                    <input class="easyui-numberbox" type="text" name="standardValue" data-options="min:0,precision:2" style="width: 240px">
                </td>
            </tr>
            <tr>
                <td class="watch-td">危害因素类型<span>*</span></td>
                <td colspan="3">
                    <select class="easyui-combobox" name="harmId" id="harmId" style="width: 240px"
                            data-options="required:true,editable:false,selectOnNavigation:true">
                    </select>
                </td>
                <td colspan="2" class="watch-td">计量单位</td>
                <td colspan="3" class="watch-tdA">
                    <input class="easyui-textbox" type="text" name="uint" style="width: 240px">
                </td>
            </tr>
            <tr>
                <td class="watch-td">MAC</td>
                <td colspan="3">
                    <input class="easyui-numberspinner formInput" value="0" name="mac"  style="width: 240px">
                </td>
                <td colspan="2" class="watch-td">PC-STEL</td>
                <td colspan="3" class="watch-tdA">
                    <input class="easyui-numberspinner formInput" value="0" name="pcstel" style="width: 240px">
                </td>
            </tr>
            <tr>
                <td class="watch-td">PC-TWA</td>
                <td colspan="3">
                    <input class="easyui-numberspinner formInput" value="0" name="pctwa"  style="width: 240px">
                </td>
                <td colspan="2" class="watch-td">检测周期</td>
                <td colspan="3" class="watch-tdA">
                    <input class="easyui-numberspinner formInput" value="0" name="testDate" style="width: 240px">
                </td>
            </tr>
            <tr>
                <td class="watch-td">备注</td>
                <td colspan="8" class="watch-tdA">
                    <input class="easyui-textbox" type="text" style="height: 100px;width: 573px" name="remarks" data-options="multiline:true">
                </td>
            </tr>
        </table>

    </form>
    <div class="form-button">
        <a href="javascript:void(0)" onclick="submitForm()" class="easyui-linkbutton"
           data-options="iconCls:'fa fa-save fa-lg'">保存</a>
        <a href="javascript:void(0)" onclick="clearForm()" class="easyui-linkbutton"
           data-options="iconCls:'fa fa-remove fa-lg'">清空</a>
    </div>
</div>
</body>
</html>
